
<meta content="telephone=no" name="format-detection" />
<title>{$sys_name}</title>

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <!-- Bootstrap -->
    <link href="/css/css/bootstrap.min.css" rel="stylesheet">
    <link href="/css/css/reset.css" rel="stylesheet">
    <link href="/css/css/style.css" rel="stylesheet">
    <link rel="stylesheet" href="/css/css/fakeLoader.css">
    <script src="/js/js/jquery-1.11.3.min.js" type="text/javascript"></script>
    <script src="/js/js/respond.js" type="text/javascript"></script>
    <script src="/js/js/echarts.common.min.js" type="text/javascript"></script>
    <script src="/js/js/common.js" type="text/javascript"></script>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<!--
  <div class="fakeloader"></div>
  <script src="js/fakeLoader.min.js"></script>
  <script>
  	    $(document).ready(function(){
  	        $(".fakeloader").fakeLoader({
  	            timeToHide:1200,
  	            bgColor:"rgba(0,0,0,.5)",
  	            spinner:"spinner2"
  	        });
  	    });
  	</script>
-->

<body class="bg">

<!--头部-->
<include file="Public/Home/Pubheader.html" />
<section class="wrapper">
    <!--左侧导航-->
    <include file="Public/Home/Menu.html" />
    <div class="content-area">
        <div class="t80"></div>
        <div id="myManu">
            <div class="z_top">
                <div class="z_list">
                    <div class="z_img"><img src="images/gg_ico.png" alt=""></div>
                    <div class="z_text scroll">
                        <ul class="list">
                            <foreach name="seatlist" item="item">
                                <li>
                                    <em></em>
                                    <a href="">
                                        <font color="#59cdb9">{$item.username}</font>
                                        捐赠了{$item.seat_money} {$B}
                                    </a>
                                    <span>{:date('Y-m-d H:i:s',$item[time])}</span>
                                </li>
                            </foreach>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="content">
                <div class="main_top" style="display: none">
                    <div class="row">
                        <div class="col-md-6 col-sm-12 left_bg hot_com">
                            <div class="media align-items-center left_r">
                                <span class="top_ico"><img src="images/top_icon1.png" alt=""></span>
                                <div class="media-body font18">
                                    {$lang.jclj}<span id="pond">{$pond}</span><em>{$B}</em>
                                </div>
                                <input type="hidden" value="{$pond}" id="thispond">
                            </div>
                        </div>
                        <div class="col-md-6 col-sm-12 left_r">
                            <div class="media align-items-center left_r">
                                <span class="top_ico"><img src="images/top_icon2.png" alt=""></span>
                                <div class="media-body">
                                <span class="top_ico2" id="top_ico2">
									<em>{$lang.jxz}</em><br>
									<small>{$lang.jljs}：</small>
								</span>
                                    <span class="top_time" id="top_time">{$shengyu}</span>
                                    <span class="top_time" id="top_time1" style="display: none"></span>
                                    <input type="hidden" value="{$second}" id="times">
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class=" m_title">
                    <div class="row">
                        <div class="col-md-12 col-sm-12">
                            <div class="z_text scroll" style="width: 100%">
                                <ul class="list">
                                    <foreach name="jc_text" item="item">
                                        <if condition="$item.text neq ''">
                                        <li style="line-height: 55px;height: 55px;width: 100%;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;" class="jc_text_li">
                                            {$item.text}
                                        </li>
                                        </if>
                                    </foreach>
                                </ul>
                            </div>

                        </div>
                    </div>
                </div>
                <div class="list_list">
                    <div class="row">
                        <!--账户余额-->
                        <div class="col-md-6 col-sm-12 ">
                            <div class="block">
                                <div class="block_title">
                                    <span style="font-weight: 600">{$lang.zhye}</span>
                                </div>
                                <div class="block_list">
                                    <div class="block1" style="height: 55px">
                                        <div class="row ">
                                            <div class="col-md-6 col-sm-12 " style="width: 50%;float: left">
                                                <div class="media align-items-center">
                                                    <span></span>
                                                    <div class="media-body k1_font">
                                                        <p><font style="font-weight: 600;font-size: 14px">{$userinfo[0].usermoney}</font><em style="font-size: 12px"> {$B}</em></p>
                                                        <span style="font-size: 12px">{$lang.zhye}</span>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-6 col-sm-12 " style="width: 50%;float: left">
                                                <div class="media align-items-center">
                                                    <span></span>
                                                    <div class="media-body k2_font" style="margin: 0">
                                                        <p><font style="font-weight: 600;font-size: 14px">{$userinfo[0].huoyue}</font></p>
                                                        <span style="font-size: 12px">基础活跃度</span>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-6 col-sm-12 " style="width: 50%;float: left">
                                                <div class="media align-items-center">
                                                    <span></span>
                                                    <div class="media-body k1_font">
                                                        <p><font style="font-weight: 600;font-size: 14px">{$userinfo[0].huoyue_jc}</font></p>
                                                        <span style="font-size: 12px">加成活跃度</span>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-6 col-sm-12 " style="width: 50%;float: left">
                                                <div class="media align-items-center">
                                                    <span></span>
                                                    <div class="media-body k2_font" style="margin: 0">
                                                        <p><font style="font-weight: 600;font-size: 14px">{$userinfo[0].huoyue_tuan}</font></p>
                                                        <span style="font-size: 12px">团队活跃度</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="link_btn" >
                                        <input type="hidden" value="{$seat_money}" id="seat_money">
                                        <input type="hidden" value="{$B}" id="BB">
                                        <a href="{:U('User/kj_list')}" id="ljjz" style="cursor: pointer;background: #39ccb3;line-height: 40px;height: 40px;border-radius: 5px">
                                            购买矿机
                                        </a>
                                        <a href="{:U('User/market')}" style="margin-top: 20px;cursor: pointer;background: #39ccb3;line-height: 40px;height: 40px;border-radius: 5px">
                                            交易大厅
                                        </a>
                                    </div>
                                    <div class="link_text" ></div>
                                </div>
                            </div>
                        </div>
                        <input type="hidden" id="seat_on" value="{$seat_on}">
                        <!--收益统计-->
                        <div class="col-md-6 col-sm-12" style="display: none">
                            <div class="block t_20">
                                <div class="block_title">
                                    <span style="font-weight: 600">{$lang.sytj}</span>
                                </div>
                                <div class="block_list">
                                    <div class="block_tab">
                                        <div class="echar">
                                            <p style="font-size: 14px;font-weight: 600;">{$j0}</p>
                                            <span>{$B}</span>
                                        </div>
                                        <div id="echarts" class="e_pie">


                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="list_list">
                    <div class="row">
                        <!--收益数据-->
                        <div class="col-md-6 col-sm-12 " style="display: none">
                            <div class="block">
                                <div class="block_title">
                                    <span style="font-weight: 600">{$lang.sysj}</span>
                                </div>
                                <div class="block_list sysj">
                                    <div class="block_t t0 ">
                                        <table>
                                            <if condition="$is_mobile neq 1">
                                                <tr>
                                                    <th width="10%">时间</th>
                                                    <th width="12.8%">{$seat_name}</th>
                                                    <th width="12.8%">{$recommend_name}</th>
                                                    <th width="12.8%">团队奖</th>
                                                    <th width="12.8%">矿机收益</th>
                                                    <th width="12.8%">理财收益</th>
                                                    <th width="12.8%">其他奖励</th>
                                                    <th width="">合计</th>
                                                </tr>
                                                <tr>
                                                    <td>昨日</td>
                                                    <td>{$y_day_seat}</td>
                                                    <td>{$y_day_tj}</td>

                                                    <td>{$y_day_td}</td>
                                                    <td>{$y_day_kj}</td>
                                                    <td>{$y_day_lc}</td>

                                                    <td>{$y_day_qt}</td>
                                                    <td>{$all_y_day}</td>
                                                </tr>
                                                <tr>
                                                    <td>今日</td>
                                                    <td>{$t_day_seat}</td>
                                                    <td>{$t_day_tj}</td>

                                                    <td>{$t_day_td}</td>
                                                    <td>{$t_day_kj}</td>
                                                    <td>{$t_day_lc}</td>

                                                    <td>{$t_day_qt}</td>
                                                    <td>{$all_t_day}</td>
                                                </tr>
                                                <tr>
                                                    <td>全部</td>
                                                    <td>{$all_seat}</td>
                                                    <td>{$all_tj}</td>

                                                    <td>{$all_td}</td>
                                                    <td>{$all_kj}</td>
                                                    <td>{$all_lc}</td>

                                                    <td>{$all_qt}</td>
                                                    <td>{$all_all}</td>
                                                </tr>
                                                <else/>
                                                <tr>
                                                    <th width="25%">时间</th>
                                                    <th width="25%">昨日</th>
                                                    <th width="25%">今日</th>
                                                    <th width="25%">全部</th>
                                                </tr>
                                                <tr>
                                                    <td>财富奖</td>
                                                    <td>{$y_day_seat}</td>
                                                    <td>{$t_day_seat}</td>
                                                    <td>{$all_seat}</td>
                                                </tr>
                                                <tr>
                                                    <td>推荐奖</td>
                                                    <td>{$y_day_tj}</td>
                                                    <td>{$t_day_tj}</td>
                                                    <td>{$all_tj}</td>
                                                </tr>
                                                <tr>
                                                    <td>团队奖</td>
                                                    <td>{$y_day_td}</td>
                                                    <td>{$t_day_td}</td>
                                                    <td>{$all_td}</td>
                                                </tr>
                                                <tr>
                                                    <td>矿机收益</td>
                                                    <td>{$y_day_kj}</td>
                                                    <td>{$t_day_kj}</td>
                                                    <td>{$all_kj}</td>
                                                </tr>
                                                <tr>
                                                    <td>理财收益</td>
                                                    <td>{$y_day_lc}</td>
                                                    <td>{$t_day_lc}</td>
                                                    <td>{$all_lc}</td>
                                                </tr>

                                                <tr>
                                                    <td>其他奖励</td>
                                                    <td>{$y_day_qt}</td>
                                                    <td>{$t_day_qt}</td>
                                                    <td>{$all_qt}</td>
                                                </tr>
                                                <tr>
                                                    <td>合计</td>
                                                    <td>{$all_y_day}</td>
                                                    <td>{$all_t_day}</td>
                                                    <td>{$all_all}</td>
                                                </tr>
                                            </if>
                                            <!--


                                            -->
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <script>
                            function showmore(){
                                $("#showmore").show();
                            }
                            function hidemore(){
                                $("#showmore").hide();
                                $.ajax({
                                    type:"GET",
                                    url:"{:U('User/closemsg')}",
                                    dataType: "json",
                                    success:function(data){
                                        console.log(data)
                                    }
                                });
                            }
                        </script>
                        <!--系统公告-->
                        <div class="col-md-6 col-sm-12 ">
                            <div  class="block t_20" style="overflow: auto">
                                <div class="block_title">
                                    <span style="font-weight: 600">{$lang.xtgg}</span>
                                    <a href="{:U('User/sysmsg_list')}" onclick="showmore_xxxxxxx()">查看{$lang.more}+</a>
                                </div>
                                <div class="showmore list_li" id="showmore" style="<if condition="$showmsg eq 0">display: none</if>">
                                    <div class="block_title">
                                        <span style="font-weight: 600">{$lang.xtgg}</span>
                                        <a style="" onclick="hidemore()">关闭</a>
                                    </div>
                                    <ul>
                                    <foreach name="sysnotices" item="item">
                                        <li>
                                            <a onclick="check_fk1({$item.id})" style="cursor: pointer;margin-left: 0">{$item.title}</a>
                                            <span style="float: right;margin-right: 0">{:date('Y-m-d H:i:s',$item[date])}</span>
                                        </li>
                                        <div class="msg_box ggxq ggxq11" id="fknr1_{$item.id}" style="display: none;">
                                            <h3>{$lang.ggxq}</h3>
                                            <div class="tab-content" >
                                                <div id="" class="tab-pane active">
                                                    <div class="full-height-scroll">
                                                        <div class="table-responsive" style="padding-bottom: 10px;padding-left: 5px">
                                                            <div class="fk_ban fk_ban1" style="width: 25%;margin: 10px 0;line-height:auto">{$lang.title}：</div>
                                                            <div style="width: 70%;float: left;margin: 10px 0;word-break: break-all">
                                                                {$item.title}
                                                            </div>
                                                            <div class="fk_ban" style="width: 25%;display: none">{$lang.fbsj}：</div>
                                                            <div style="width: 70%;float: left;display: none">
                                                                {:date('Y-m-d',$item[date])}
                                                            </div>
                                                            <div class="fk_ban"style="width: 25%;display: none">{$lang.ggxq}：</div>
                                                            <div style="width: 95%;padding: 0 5px; margin:auto;line-height: 35px;overflow: hidden;border: 1px solid #ddd">
                                                                <textarea style="width: 102%;margin-top: 5px;padding-top:3px;background: none;padding-left: 0;padding-right: 20px;" class="msg_textarea" readonly>{$item.content}</textarea>
                                                            </div>
                                                            <div style="width: 100%;float: left"><div style="width: 80px;margin: auto;line-height: 30px;text-align: center;background: #0dae8d;color: #fff;margin-top: 20px;cursor: pointer" onclick="close_fk1({$item.id})">关闭</div></div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </foreach>
                                    </ul>
                                </div>


                                <div class="block_list sysj">
                                    <div class="list_li">
                                        <ul>
                                            <foreach name="sysnotice" item="item">
                                            <li><em></em>
                                                <a onclick="check_fk({$item.id})" style="cursor: pointer">{$item.title}</a>
                                                <span>{:date('Y-m-d H:i:s',$item[date])}</span>
                                            </li>
                                                <div class="msg_box ggxq ggxq11" id="fknr_{$item.id}" style="display: none;">
                                                    <h3>{$lang.ggxq}</h3>
                                                    <div class="tab-content" >
                                                        <div id="" class="tab-pane active">
                                                            <div class="full-height-scroll">
                                                                <div class="table-responsive" style="padding-bottom: 10px;padding-left: 5px">
                                                                    <div class="fk_ban fk_ban1" style="width: 25%;margin: 10px 0;line-height:auto">{$lang.title}：</div>
                                                                    <div style="width: 70%;float: left;margin: 10px 0;word-break: break-all">
                                                                        {$item.title}
                                                                    </div>
                                                                    <div class="fk_ban" style="width: 25%;display: none">{$lang.fbsj}：</div>
                                                                    <div style="width: 70%;float: left;display: none">
                                                                        {:date('Y-m-d',$item[date])}
                                                                    </div>
                                                                    <div class="fk_ban"style="width: 25%;display: none">{$lang.ggxq}：</div>
                                                                    <div style="width: 95%;padding: 0 5px; margin:auto;line-height: 35px;overflow: hidden;border: 1px solid #ddd">
                                                                        <textarea style="width: 102%;margin-top: 5px;padding-top:3px;background: none;padding-left: 0;padding-right: 20px;" class="msg_textarea" readonly>{$item.content}</textarea>
                                                                    </div>
                                                                    <div style="width: 100%;float: left"><div style="width: 80px;margin: auto;line-height: 30px;text-align: center;background: #0dae8d;color: #fff;margin-top: 20px;cursor: pointer" onclick="close_fk({$item.id})">关闭</div></div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </foreach>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<input type="hidden" id="dwj" value="{$seat_name}">
<input type="hidden" id="tjj" value="{$recommend_name}">
<input type="hidden" id="j1" value="{$j1}">
<input type="hidden" id="j2" value="{$j2}">
<input type="hidden" id="j3" value="{$j3}">
<input type="hidden" id="j4" value="{$j4}">
<input type="hidden" id="j5" value="{$j5}">
<input type="hidden" id="j6" value="{$j6}">
<input type="hidden" id="j7" value="{$j7}">

<script>
    function check_fk(id){
        $("#fknr_"+id).show();
    }
    function check_fk1(id){
        $("#fknr1_"+id).show();
    }
    function close_fk(id){
        $("#fknr_"+id).hide();
    }
    function close_fk1(id){
        $("#fknr1_"+id).hide();
    }
</script>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/js/js/bootstrap.js"></script>
<script type="text/javascript">
    function autoScroll(obj) {
        $(obj).find(".list").animate({
            marginTop: "-50px"
        }, 500, function() {
            $(this).css({
                marginTop: "0px"
            }).find("li:first").appendTo(this);
        })
    }
    $(function() {
        setInterval('autoScroll(".scroll")', 4000)
    })
</script>
<script type="text/javascript">
    var myChart = echarts.init(document.getElementById("echarts"));
    var j1 = $("#j1").val();
    var j2 = $("#j2").val();
    var j3 = $("#j3").val();
    var j4 = $("#j4").val();
    var j5 = $("#j5").val();
    var j6 = $("#j6").val();
    var j7 = $("#j7").val();
    var dwj = $("#dwj").val();
    var tjj = $("#tjj").val();
    option = {
        title: {
            text: '',
            subtext: '',
            x: 'center'
        },
        tooltip: {
            trigger: 'item',
            formatter: "{a} <br/>{b} : {c} ({d}%)"
        },

        legend: {
            orient: 'vertical',
            left: 'right',
            data: ['奖池', '业绩大比拼', dwj, tjj,"团队奖","矿机收益","理财收益"]
        },
        series: [{
            name: '收益来源',
            type: 'pie',
            radius: ['50%', '70%'],
            center: ['40%', '50%'],
            data: [{
                value: j1,
                name: dwj,
                itemStyle: {
                    color: '#fab42f'
                }
            }, {
                value: j2,
                name: tjj,
                itemStyle: {
                    color: '#95c357'
                }
            }, {
                value: j3,
                name: '奖池',
                itemStyle: {
                    color: '#3ea842'
                }
            }, {
                value: j4,
                name: '业绩大比拼',
                itemStyle: {
                    color: '#30c4a9'
                }
            }, {
                value: j5,
                name: '团队奖',
                itemStyle: {
                    color: '#d6307e'
                }
            }, {
                value: j6,
                name: '矿机收益',
                itemStyle: {
                    color: '#3b8277'
                }
            }, {
                value: j7,
                name: '理财收益',
                itemStyle: {
                    color: '#4162f0'
                }
            },  ],
            itemStyle: {
                emphasis: {
                    shadowBlur: 10,
                    shadowOffsetX: 0,
                    shadowColor: 'rgba(0, 0, 0, 0.5)'
                }
            }
        }]

    };
    myChart.setOption(option);
</script>
<script type="text/javascript" language="javascript">
    var nav1 = document.getElementById("nav1");
    var links1 = nav1.getElementsByTagName("li");
    var lilen1 = nav1.getElementsByTagName("a");
    var currenturl1 = document.location.href;
    var last1 = 0;
    for (var i1=0;i1<links1.length;i1++)
    {
        var linkurl1 = lilen1[i1].getAttribute("href");
        if(currenturl1.indexOf(linkurl1)!=-1)
        {
            last1 = i1;
        }
    }

    links1[last1].className = "cur1";

</script>

</body>

</html>





